package com.storm.lib.vo;

import com.storm.lib.base.BaseVo;

public class MsgVo extends BaseVo {
	/**
	 * 1.弹出框 2.飘出tip 3.动画
	 */
	private Integer messageType;
	
	/**
	 * 消息
	 */
	private String message;
	
	/**
	 * 相关Id
	 */
	private Integer relatedId;

	public Integer getMessageType() {
		return messageType;
	}

	public void setMessageType(Integer messageType) {
		this.messageType = messageType;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getRelatedId() {
		return relatedId;
	}

	public void setRelatedId(Integer relatedId) {
		this.relatedId = relatedId;
	}
	
	public static MsgVo newConfirm(String messageSTr){
		MsgVo messageVo = new MsgVo();
		messageVo.setMessageType(1);
		messageVo.setMessage(messageSTr);
		return messageVo;
	}
	
}
